package com.github.chirspan.xaas.uc.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.chirspan.xaas.mybatis.util.tree.Tree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author: chenpan
 * @Date: 2021-08-10 11:03:09
 * @Description: 科室信息
 */
@TableName(value = "xaas_org_department")
@Data
@ToString(callSuper = true)
public class OrgDepartment extends Tree {

    @ApiModelProperty(value = "所属机构id")
    @TableField(value = "org_id")
    private String orgId;

    @ApiModelProperty(value = "科室编码")
    @TableField(value = "dept_code")
    private String deptCode;

    @ApiModelProperty(value = "科室名称")
    @TableField(value = "dept_name")
    private String deptName;

    @ApiModelProperty(value = "科目编码（全国医疗卫生机构业务科室分类与代码）")
    @TableField(value = "subject_code")
    private String subjectCode;

    @ApiModelProperty(value = "科目名称")
    @TableField(value = "subject_name")
    private String subjectName;

    @ApiModelProperty(value = "科室类别编码 1：临床、2：职能、3：医技")
    @TableField(value = "dept_category_code")
    private String deptCategoryCode;

    @ApiModelProperty(value = "科室类别名称")
    @TableField(value = "dept_category_name")
    private String deptCategoryName;

    @ApiModelProperty(value = "业务隶属 0：不区分 1:门急诊 2：住院  9.其他")
    @TableField(value = "business_subjection")
    private String businessSubjection;

    @ApiModelProperty(value = "科室位置")
    @TableField(value = "dept_location")
    private String deptLocation;

    @ApiModelProperty(value = "科室简介")
    @TableField(value = "brief_introduction")
    private String briefIntroduction;

    @ApiModelProperty(value = "负责人")
    @TableField(value = "principal_name")
    private String principalName;

    @ApiModelProperty(value = "电话")
    @TableField(value = "telecom")
    private String telecom;

    @ApiModelProperty(value = "邮箱")
    @TableField(value = "email")
    private String email;

    @ApiModelProperty(value = "状态")
    @TableField(value = "status")
    private String status;

}

